project(snowboy)

add_library(snowboy-wrapper STATIC snowboy-detect-c-wrapper.cc)
target_compile_options(snowboy-wrapper PRIVATE -D_GLIBCXX_USE_CXX11_ABI=0)

add_library(snowboy-detect STATIC IMPORTED GLOBAL)
set_target_properties(snowboy-detect PROPERTIES IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/libsnowboy-detect.a )
